package com.kt.springcloud.service;

import com.kt.springcloud.entity.Payment;
import org.apache.ibatis.annotations.Param;

/**
 * @author DengXin
 * @date 2022/9/29 15:23
 */
public interface PaymentService {
    /**
     * 新增
     *
     * @param payment
     * @return
     */
    int create(Payment payment);

    /**
     * 根据id获取
     *
     * @param id
     * @return
     */
    Payment get(@Param("id") Long id);
}
